package com.ruoyi.wp.mapper;

import com.ruoyi.wp.domain.IDoctorPatient;
import org.springframework.stereotype.Component;

@Component
public interface IDoctorPatientMapper {

    // 根据身份证号查询患者信息
    IDoctorPatient selectByCard(IDoctorPatient doctorPatient);

    /**
     * 新增患者
     *
     * @param doctorPatient 患者
     * @return 结果
     */
    public int insertDoctorPatient(IDoctorPatient doctorPatient);

}
